@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="teacherId" value="${item.teacherId}">
            <input type="hidden" id="siteId"  value="${item.siteId}">
            
			<div class="row">
				<div class="col-sm-6">
                    <#avatar id="PCavatar" name="PC" underline="true" avatarImg="${item.imageUrl}"/>      
                </div>
                <div class="col-sm-6">
                    <#avatar id="H5avatar" name="移动端" underline="true" avatarImg="${item.phoneUrl}"/>      
                </div>
			</div>
            <div class="row">
                <div class="col-sm-6 b-r">
                			<#input id="siteValue" name="开发区域" value="" underline="true"/>
                			<!-- <#input id="teacherDesc" name="名师简介"  value="${item.teacherDesc}" underline="true"/> -->
                			<div class="form-group">
							    <label class="col-sm-3 control-label" for="name">名师简介</label>
							    <div class="col-sm-9">
							    	<textarea id="teacherDesc" class="form-control" rows="3">${item.teacherDesc}</textarea>
							    </div>
							</div>
                            <!-- <#input id="id" name="id" value="${item.id}" underline="true"/>
                            <#input id="teacherId" name="教师id" value="${item.teacherId}" underline="true"/>
                            <#input id="teacherName" name="教师名称" value="${item.teacherName}" underline="true"/>
                            <#input id="provinceCode" name="省code" value="${item.provinceCode}" underline="true"/>
                            <#input id="cityCode" name="市code" value="${item.cityCode}" underline="true"/>
                            <#input id="areaCode" name="区县code" value="${item.areaCode}" underline="true"/>
                            <#input id="orgProvinceCode" name="就职省code" value="${item.orgProvinceCode}" underline="true"/>
                            <#input id="orgProvinceName" name="就职省名称" value="${item.orgProvinceName}" underline="true"/>
                            <#input id="orgCityCode" name="就职市code" value="${item.orgCityCode}" underline="true"/>
                            <#input id="orgCityName" name="就职市名称" value="${item.orgCityName}" underline="true"/>
                            <#input id="orgAreaCode" name="就职区县code" value="${item.orgAreaCode}" underline="true"/>
                            <#input id="orgAreaName" name="就职区县名称" value="${item.orgAreaName}" underline="true"/>
                            <#input id="schoolId" name="学校id" value="${item.schoolId}" /> -->
                </div>

                <div class="col-sm-6">
                			
                			<#select id="subject" name="科目" >
	                               <option value=""></option>
	                               @for(item in l_clmSubjectEntity){
				                        <option value="${item.courseCode}">${item.courseName}</option>
				                    @}
							</#select>
                            <!--<#input id="subject" name="科目" value="" underline="true"/>
                             <#input id="createTime" name="创建时间" value="${item.createTime}" underline="true"/>
                            <#input id="status" name="状态 1-开启 0-禁用" value="${item.status}" underline="true"/>
                            <#input id="siteId" name="站点id" value="${item.siteId}" underline="true"/>
                            <#input id="createUserId" name="创建人id" value="${item.createUserId}" underline="true"/>
                            <#input id="updateUserId" name="修改人id" value="${item.updateUserId}" underline="true"/>
                            <#input id="updateTime" name="修改时间" value="${item.updateTime}" underline="true"/>
                            <#input id="beDelete" name="是否删除 0-否 1-是" value="${item.beDelete}" underline="true"/>
                            <#input id="num" name="排序" value="${item.num}" underline="true"/>
                            <#input id="imageUrl" name="名师图片" value="${item.imageUrl}" underline="true"/>
                            <#input id="teacherDesc" name="名师简介" value="${item.teacherDesc}" underline="true"/>
                            <#input id="beTop" name="置顶 0-否 1-是" value="${item.beTop}" /> -->
                </div>
            </div>
            
            <div class="hidden-xs" id="TeacherTableToolbar" role="group">
            	 @if(shiro.hasPermission("/teacher/update")){
            	  	<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TeacherInfoDlg.editSubmit()"/>
                 @}
             </div>
             <hr style="width:1000PX;height:20px;">
             <div class="row">
             	<div class="col-sm-12"> <h3>课程列表</h3></div>
             </div>
             <div class="row row-lg">
                <div class="col-sm-12">
	                 <div class="hidden-xs" id="TeacherRoomTableToolbar" role="group">
		            	 @if(shiro.hasPermission("/clmRoom/detail")){
                              <#button name="查看" icon="fa-edit" clickFun="TeacherRoom.openClmRoomLook()" space="true"/>
                         @}
                         
		                 @if(shiro.hasPermission("/teacher/add")){
		                     <#button name="添加" icon="fa-plus" clickFun="TeacherRoom.openAddTeacher()" space="true"/>
		                 @}
		                 @if(shiro.hasPermission("/teacher/update")){
                              <#button name="修改" icon="fa-edit" clickFun="TeacherRoom.openEditTeacher()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/delete")){
                             <#button name="删除" icon="fa-remove" clickFun="TeacherRoom.delete()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/update")){
                             <#button name="上下架" icon="fa-edit" clickFun="TeacherRoom.downOrUp()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/update")){
                            <#button name="置顶" icon="fa-edit" clickFun="TeacherRoom.topOrNo()" space="true"/>
                         @}
		             </div>
             		<#table id="TeacherRoomTable"/>
             	</div>
			</div>	
            <!-- <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TeacherInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TeacherInfoDlg.close()"/>
                </div>
            </div> -->
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/clm/teacher/teacher_info.js"></script>
<script src="${ctxPath}/static/modular/clm/teacher/teacher_room.js"></script>
@}
